﻿using System.ComponentModel.DataAnnotations;

namespace RBAC_Uthorization.API.DTO.Request
{
    public class UserloginDto
    {
      
        /// <summary>
        /// 用户名
        /// </summary>

        public string login_name { get; set; }
        /// <summary>
        /// 密码
        /// </summary>
        public string password { get; set; }
        /// <summary>
        /// 工号
        /// </summary>
        public string? no { get; set; }
        /// <summary>
        /// 姓名
        /// </summary>
        public string name { get; set; }
        /// <summary>
        /// 邮箱
        /// </summary>
        public string email { get; set; }
        /// <summary>
        /// 手机号
        /// </summary>
        public string phone { get; set; }
        /// <summary>
        /// 用户类型
        /// </summary>
        public int user_type { get; set; } = 0;
        /// <summary>
        /// 性别
        /// </summary>
        public int Sex { get; set; } = 0;
        /// <summary>
        /// 管理员类型
        /// </summary>
        public int mgr_type { get; set; } = 0;
        /// <summary>
        /// 用户头像
        /// </summary>
        public string? avatar { get; set; }
       
        /// <summary>
        /// 是否可登录
        /// </summary>
        public int login_flag { get; set; } = 1;

    }
}
